<table border="1" width="100%">
        <?php
          foreach ($this->abm_data as $row) {
            echo "<tr>";     
            $first = 1;
            foreach ($row as $value) {
              if ($first) {
                echo "<td><a href='$this->root_url"."index/view?id=$value"."'>$value</a></td>";
                $first = 0;
              }
              else {
                echo "<td>$value</td>";
              }
            }
            echo "</tr>"; 
          }
          for ($i = 1;$i <= $this->abm_data->page_count; $i++) {
            echo "<a href='?page=$i'>Pagina $i</a><br />";
          }
        ?> 
</table>